Skip to content

refactor(panel): make the 'save configuration' button float#268

Merged
Akinator31 merged 1 commit intomainfrom
257-make-the-configuration-button-float
Dec 2, 2025
Merged

refactor(panel): make the 'save configuration' button float#268
Akinator31 merged 1 commit intomainfrom
257-make-the-configuration-button-float

Conversation

@Akinator31
Copy link
Copy Markdown
Member

This pull request enhances the configuration page UI and its save/reset workflow. The main improvements include a new floating save/reset bar for unsaved changes, better state management for saving, and updated translations for the new UI elements. These changes make it clearer to users when configuration changes are unsaved and provide a more intuitive way to save or reset their modifications.

UI/UX Improvements:

  • Added a floating bar that appears when there are unsaved changes, allowing users to save or reset their configuration with animated transitions for better visibility.
  • Updated the save button workflow to indicate saving state and prevent duplicate saves, improving user feedback during async operations.

State Management and Logic:

  • After a successful save, the configuration is re-fetched from the API to ensure the UI reflects the latest saved state.

Internationalization:

  • Added new translation keys for "Reset", "Unsaved changes", and "Save" in both English and French locale files to support the new UI elements.

Code Style:

  • Minor formatting improvements for code consistency in the configuration and text input components.

@Akinator31 Akinator31 self-assigned this Dec 2, 2025
@Akinator31 Akinator31 linked an issue Dec 2, 2025 that may be closed by this pull request
@Akinator31 Akinator31 merged commit 3a2fa94 into main Dec 2, 2025
6 checks passed
@Akinator31 Akinator31 deleted the 257-make-the-configuration-button-float branch December 2, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the configuration button float

1 participant